package meconsea.webcoll.uc.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import meconsea.webcoll.base.entity.AbsEntity;
import meconsea.webcoll.base.entity.IEntity;

import org.hibernate.annotations.Type;

@SuppressWarnings("serial")
@Entity
@Table(name="uc_site")
public class UcSite extends AbsEntity implements IEntity {
	@Column(name="siteName",length=128)
	private String siteName;
	@Column(name="siteUrl",length=128)
	private String siteUrl;
	@Column(name="userId",length=32)
	private String userId;
	@Column(name="sortName",length=256)
	private String sortName;
	@Column(name="sortId",length=32)
	private String sortId;
	@Column(name="summary",length=512)
	private String summary;
	@Column(name="publicDegree")
	@Type(type="integer")
	private int publicDegree;
	public String getSiteName() {
		return siteName;
	}
	public void setSiteName(String siteName) {
		this.siteName = siteName;
	}
	public String getSiteUrl() {
		return siteUrl;
	}
	public void setSiteUrl(String siteUrl) {
		this.siteUrl = siteUrl;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getSortName() {
		return sortName;
	}
	public void setSortName(String sortName) {
		this.sortName = sortName;
	}
	public String getSortId() {
		return sortId;
	}
	public void setSortId(String sortId) {
		this.sortId = sortId;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	public int getPublicDegree() {
		return publicDegree;
	}
	public void setPublicDegree(int publicDegree) {
		this.publicDegree = publicDegree;
	}
	
}
